namespace java kr.ac.konkuk.db.quadtree.server.service

enum Operating {
	CONTAINS = 1,
	INTERSECT = 2,
	DISJOINT = 3,
	COVERS = 4
}

service QuadTreeService {
	set<string> insert(1: list<byte> rowKey, 2: list<byte> geom),
	set<string> search(1: double x1, 2: double y1, 3: double x2, 4: double y2, 5: Operating op),
	set<string> searchByGeometry(1: list<byte> searchGeom, 2: Operating op),
	bool remove(1: list<byte> rowKey)
} 